package com.jyw.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author Created by ZhangCheng on 2024/01/10
 */
@ApiModel("批量新增科室IP子项实体")
@Data
public class SysDeptIpAddressSubAddDto {

    /** ip地址 */
    @ApiModelProperty("ip地址")
    @NotBlank(message = "ip地址不能为空")
    @Size(max = 50, message = "ip地址长度不能超过50个字符")
    private String ipAddress;
}
